package com.goldgov.branchCircle.service;

import com.goldgov.kcloud.core.service.Query;
import com.goldgov.utils.DataUtil;
import com.goldgov.utils.PropertyUtil;

public class AttentionQuery extends Query<Attention>{

	private String searchUserID;//用户id
	
	private String searchOrgName;//支部名称
	
	private String searchParentID;//父id
	private String searchTreePath;//路径
	private String searchOrgID;//机构id
	private String searchPlaceOrgId;//所在支部
	private String[] searchOrgNames;//机构名称集合
	private String[] searchBranchCode;//存在人员支部编码
	private String searchScopeCode;//管理范围
	
	public String getSearchScopeCode() {
		return searchScopeCode;
	}
	public void setSearchScopeCode(String searchScopeCode) {
		this.searchScopeCode = searchScopeCode;
	}
	public String[] getSearchBranchCode() {
		if (!PropertyUtil.objectNotEmpty(this.searchBranchCode)) {
			searchBranchCode = DataUtil.BRANCH_CODING;
		}
		return searchBranchCode;
	}
	public void setSearchBranchCode(String[] searchBranchCode) {
		if (!PropertyUtil.objectNotEmpty(searchBranchCode)) {
			searchBranchCode = DataUtil.BRANCH_CODING;
		}
		this.searchBranchCode = searchBranchCode;
	}
	public String[] getSearchOrgNames() {
		return searchOrgNames;
	}

	public void setSearchOrgNames(String[] searchOrgNames) {
		this.searchOrgNames = searchOrgNames;
	}

	public String getSearchOrgID() {
		return searchOrgID;
	}

	public void setSearchOrgID(String searchOrgID) {
		this.searchOrgID = searchOrgID;
	}

	public String getSearchParentID() {
		return searchParentID;
	}

	public void setSearchParentID(String searchParentID) {
		this.searchParentID = searchParentID;
	}

	public String getSearchTreePath() {
		return searchTreePath;
	}

	public void setSearchTreePath(String searchTreePath) {
		this.searchTreePath = searchTreePath;
	}

	public String getSearchUserID() {
		return searchUserID;
	}

	public void setSearchUserID(String searchUserID) {
		this.searchUserID = searchUserID;
	}

	public String getSearchOrgName() {
		return searchOrgName;
	}

	public void setSearchOrgName(String searchOrgName) {
		this.searchOrgName = searchOrgName;
	}
	public String getSearchPlaceOrgId() {
		return searchPlaceOrgId;
	}
	public void setSearchPlaceOrgId(String searchPlaceOrgId) {
		this.searchPlaceOrgId = searchPlaceOrgId;
	}
	
	
	
}
